package com.example.gmallproduct.feign;


import com.common.to.es.SkuEsUpTo;
import com.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient("GMALL-search")
public interface SearchFeignService {

    @RequestMapping("/search/up")
    R up(@RequestBody List<SkuEsUpTo> skuList);
}
